package cn.com.hfuu.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.com.hfuu.module.role;

public interface roleMapper {
    int deleteByPrimaryKey(String roleId);

    int insert(role record);

    int insertSelective(role record);

    role selectByPrimaryKey(String roleId);

    int updateByPrimaryKeySelective(role record);

    int updateByPrimaryKey(role record);

	List<role> selectall(@Param("start")Integer start,@Param("limit") Integer limit);

	List<role> selectalltotal();

	role selctbyname(String roleName);

	role exitnameedit(@Param("rolename")String roleName,@Param("roleid") String roleId);

	role editByPrimaryKey(String id);

	int deletes(String[] ids);

	List<role> selectbyid(String[] ids);

	List<role> selectalls();

	List<role> getcyyg();

	List<role> selectbyuser(String userId);
}